package com.bdzl.admin.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.sys.ApiLogDao;
import com.bdzl.pub.entity.sys.ApiLogDO;
import com.bdzl.admin.service.sys.ApiLogService;



@Service
public class ApiLogServiceImpl implements ApiLogService {
	@Autowired
	private ApiLogDao apiLogDao;
	
	@Override
	public ApiLogDO get(Integer apiId){
		return apiLogDao.get(apiId);
	}
	
	@Override
	public List<ApiLogDO> list(Map<String, Object> map){
		return apiLogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return apiLogDao.count(map);
	}
	
	@Override
	public int save(ApiLogDO apiLog){
		return apiLogDao.save(apiLog);
	}
	
	@Override
	public int update(ApiLogDO apiLog){
		return apiLogDao.update(apiLog);
	}
	
	@Override
	public int remove(Integer apiId){
		return apiLogDao.remove(apiId);
	}
	
	@Override
	public int batchRemove(Integer[] apiIds){
		return apiLogDao.batchRemove(apiIds);
	}
	
}
